package com.liu.zeximail.order.feign;

import com.alipay.api.AlipayApiException;
import com.liu.zeximail.order.vo.PayVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author liuzexi
 * @email liuzexii@163.com
 * @date : 2021/5/7 23:58
 */

@FeignClient("zeximail-third-party")
public interface ThridFeignService {

    @GetMapping(value = "/pay",consumes = "application/json")
    String pay(@RequestBody PayVo vo) throws AlipayApiException;

}
